Difference between 2 time line values Default behaviour is to always return a large value

Namespace:  Equis.JanusToolkit
Assembly:  Janus (in Janus.dll)

Syntax

C#
protected virtual double Difference(
	ValueType val1,
	ValueType val2
)

Parameters

val1
Type: ValueType
Value 1
val2
Type: ValueType
Value 2

Return Value

Difference between Value 1 and Value 2

Remarks

This method is used by Set in conjucntion with the value of the parameter Tolerance to determine whether or not an update to the timeline should be sent to the remote peers Updates are sent when the value returned by Difference is greater than Tolerance

See Also